package com.plan.service.card.impl;

import com.plan.dao.service.card.TeamDaoService;
import com.plan.service.card.TeamService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TeamServiceImpl implements TeamService {
    @Resource
    private TeamDaoService teamDaoService;

    @Override
    public boolean isUserInTeam(Long teamId, Long userId) {
        return teamDaoService.isUserInTeam(teamId, userId);
    }
}
